<div class="layui-form" lay-filter="layuiadmin-form-mima" style="padding: 20px 30px 0 0;margin: 0 auto;">

    <div class="layui-form-item">
        <label class="layui-form-label">旧密码</label>
        <div class="layui-input-inline">
            <script type="text/html" template>
                <input type="password" name="oldPassword" value="{{ d.params.oldPassword || '' }}" lay-verify="" placeholder="请输入旧密码" autocomplete="off" class="layui-input">
            </script>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">新密码</label>
        <div class="layui-input-inline">
            <script type="text/html" template>
                <input type="password" name="newPassword" value="{{ d.params.newPassword || '' }}" id="xinmima" lay-verify="" placeholder="请输入新密码" autocomplete="off" class="layui-input">
            </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">确认密码</label>
        <div class="layui-input-inline">
            <script type="text/html" template>
                <input type="password" name="qrmima" value="{{ d.params.qrmima || '' }}" lay-verify="" placeholder="请再次确认密码" autocomplete="off" class="layui-input">
            </script>
        </div>
    </div>
    <script type="text/html" template>
        <input type="password" name="id" value="{{ d.params.id || '' }}" style="display:none;" lay-verify="" placeholder="请再次确认密码" autocomplete="off" class="layui-input">
    </script>
    <div class="layui-form-item">
        <label class="layui-form-label"></label>
        <div class="layui-input-inline">
            <input type="button" lay-submit lay-filter="LAY-user-back-submit" value="确认" class="layui-btn">
        </div>
    </div>
</div>

<style type="text/css">
    .layui-form-label {
        width: 95px;
    }
</style>

<script>
    layui.use(['admin', 'form', 'upload'], function() {
        var $ = layui.$,
            setter = layui.setter,
            form = layui.form,
            admin = layui.admin
        upload = layui.upload;


        localStorage.setItem('upimg', JSON.stringify([]));
        $("#content").blur(function() {
            var _this = $(this);
            layer.alert(_this.val());
        })

    })
</script>